diff options
author | Richard J. Moore <rich@kde.org> | 2016-07-30 19:36:16 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-30 21:19:24 +0200 |
commit | 22293ea1cc3c6b8eef16d75b7a63242c8b3375c5 (patch) | |
tree | 46743e5ef9f286996fc3bbdfd76f1b94cf85aede /crypto/ocsp/ocsp_lib.c | |
parent | Make some more X509 functions const. (diff) | |
download | openssl-22293ea1cc3c6b8eef16d75b7a63242c8b3375c5.tar.xz openssl-22293ea1cc3c6b8eef16d75b7a63242c8b3375c5.zip |
Ignore the serial number for now and just do the rest.
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1367)
Diffstat (limited to 'crypto/ocsp/ocsp_lib.c')
-rw-r--r-- | crypto/ocsp/ocsp_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ocsp/ocsp_lib.c b/crypto/ocsp/ocsp_lib.c index e850b4c01c..5ff2f318b3 100644 --- a/crypto/ocsp/ocsp_lib.c +++ b/crypto/ocsp/ocsp_lib.c @@ -22,7 +22,7 @@ OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer) { X509_NAME *iname; - const ASN1_INTEGER *serial; + ASN1_INTEGER *serial; ASN1_BIT_STRING *ikey; if (!dgst) dgst = EVP_sha1(); @@ -40,7 +40,7 @@ OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer) OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst, X509_NAME *issuerName, ASN1_BIT_STRING *issuerKey, - const ASN1_INTEGER *serialNumber) + ASN1_INTEGER *serialNumber) { int nid; unsigned int i; |