Latest update.
This commit is contained in:
@@ -509,7 +509,7 @@ OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_name(X509_NAME *name)
|
||||
}
|
||||
|
||||
OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_issuer_serial(X509_NAME *name,
|
||||
const ASN1_INTEGER *serial)
|
||||
const ASN1_INTEGER *serial)
|
||||
{
|
||||
OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search));
|
||||
|
||||
@@ -589,7 +589,7 @@ X509_NAME *OSSL_STORE_SEARCH_get0_name(const OSSL_STORE_SEARCH *criterion)
|
||||
}
|
||||
|
||||
const ASN1_INTEGER *OSSL_STORE_SEARCH_get0_serial(const OSSL_STORE_SEARCH
|
||||
*criterion)
|
||||
*criterion)
|
||||
{
|
||||
return criterion->serial;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ struct ossl_store_search_st {
|
||||
* Used by OSSL_STORE_SEARCH_BY_NAME and
|
||||
* OSSL_STORE_SEARCH_BY_ISSUER_SERIAL
|
||||
*/
|
||||
X509_NAME *name;
|
||||
X509_NAME *name; /* TODO constify this; leads to API incompatibility */
|
||||
|
||||
/* Used by OSSL_STORE_SEARCH_BY_ISSUER_SERIAL */
|
||||
const ASN1_INTEGER *serial;
|
||||
|
||||
Reference in New Issue
Block a user