X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Fcrypto%2Ftls.h;h=dafe8bb44bbeb127aa28fd6fb27d2046a716ca6c;hb=e59c91af82c8a99b75ee6a7462c63dcf6ec2dfeb;hp=0a79166339ac48fcb92841a16d981c938aeea8ce;hpb=29222cd303a2659a21837366413a1155911d0bb9;p=libeap.git diff --git a/src/crypto/tls.h b/src/crypto/tls.h index 0a79166..dafe8bb 100644 --- a/src/crypto/tls.h +++ b/src/crypto/tls.h @@ -63,7 +63,10 @@ struct tls_config { * @engine_id: engine id string (this is OpenSSL specific for now) * @ppin: pointer to the pin variable in the configuration * (this is OpenSSL specific for now) - * @key_id: the private key's key id (this is OpenSSL specific for now) + * @key_id: the private key's id when using engine (this is OpenSSL + * specific for now) + * @cert_id: the certificate's id when using engine + * @ca_cert_id: the CA certificate's id when using engine * @tls_ia: Whether to enable TLS/IA (for EAP-TTLSv1) * * TLS connection parameters to be configured with tls_connection_set_params() @@ -98,6 +101,8 @@ struct tls_connection_params { const char *engine_id; const char *pin; const char *key_id; + const char *cert_id; + const char *ca_cert_id; };