diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_cmp.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_cmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_cmp.c b/src/lib/libcrypto/x509/x509_cmp.c index ab0dbcba39..73d060f404 100644 --- a/src/lib/libcrypto/x509/x509_cmp.c +++ b/src/lib/libcrypto/x509/x509_cmp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_cmp.c,v 1.30 2018/03/17 14:57:23 jsing Exp $ */ | 1 | /* $OpenBSD: x509_cmp.c,v 1.31 2018/05/01 19:01:28 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -327,7 +327,7 @@ X509_get_pubkey(X509 *x) | |||
327 | } | 327 | } |
328 | 328 | ||
329 | EVP_PKEY * | 329 | EVP_PKEY * |
330 | X509_get0_pubkey(X509 *x) | 330 | X509_get0_pubkey(const X509 *x) |
331 | { | 331 | { |
332 | if (x == NULL || x->cert_info == NULL) | 332 | if (x == NULL || x->cert_info == NULL) |
333 | return (NULL); | 333 | return (NULL); |