diff options
| author | tb <> | 2018-05-18 19:24:08 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-18 19:24:08 +0000 |
| commit | d7f54f2d9055851c59540a96dcf1a673fba160fc (patch) | |
| tree | 6db0f7c0ed034315d50f9d2f102d9090521328bf /src/lib/libcrypto/x509/x509.h | |
| parent | d33bb26bea662a4e8b7eda24cb7fe36230fc5f9e (diff) | |
| download | openbsd-d7f54f2d9055851c59540a96dcf1a673fba160fc.tar.gz openbsd-d7f54f2d9055851c59540a96dcf1a673fba160fc.tar.bz2 openbsd-d7f54f2d9055851c59540a96dcf1a673fba160fc.zip | |
Add const to both arguments of X509_check_private_key(3).
tested in a bulk build by sthen
input & ok jsing
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/x509/x509.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index ec7887a928..e99e8e0238 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509.h,v 1.63 2018/05/18 19:21:33 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.64 2018/05/18 19:24:08 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 | * |
| @@ -1049,7 +1049,7 @@ int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial); | |||
| 1049 | 1049 | ||
| 1050 | int X509_REQ_check_private_key(X509_REQ *x509,EVP_PKEY *pkey); | 1050 | int X509_REQ_check_private_key(X509_REQ *x509,EVP_PKEY *pkey); |
| 1051 | 1051 | ||
| 1052 | int X509_check_private_key(X509 *x509,EVP_PKEY *pkey); | 1052 | int X509_check_private_key(const X509 *x509, const EVP_PKEY *pkey); |
| 1053 | 1053 | ||
| 1054 | int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b); | 1054 | int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b); |
| 1055 | unsigned long X509_issuer_and_serial_hash(X509 *a); | 1055 | unsigned long X509_issuer_and_serial_hash(X509 *a); |
