diff options
author | tb <> | 2018-05-13 06:40:55 +0000 |
---|---|---|
committer | tb <> | 2018-05-13 06:40:55 +0000 |
commit | f7943a7d637c81a04f4e7be8825fd5bd5d278761 (patch) | |
tree | b6ee9334f73b5a7ddcaa6539b9d05cbdd4215c65 /src/lib/libcrypto/evp | |
parent | 5c39313f78354204100b89647c01a2ee708ed13c (diff) | |
download | openbsd-f7943a7d637c81a04f4e7be8825fd5bd5d278761.tar.gz openbsd-f7943a7d637c81a04f4e7be8825fd5bd5d278761.tar.bz2 openbsd-f7943a7d637c81a04f4e7be8825fd5bd5d278761.zip |
Add a const qualifier to the argument of EVP_PKEY_get0_asn1(3).
tested in a bulk build by sthen
ok beck (as part of a larger diff)
Diffstat (limited to 'src/lib/libcrypto/evp')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 4f2c867196..4f1c5c5d81 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp.h,v 1.62 2018/05/13 06:38:46 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.63 2018/05/13 06:40:55 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 | * |
@@ -996,7 +996,7 @@ int EVP_PKEY_asn1_get0_info(int *ppkey_id, int *pkey_base_id, int *ppkey_flags, | |||
996 | const char **pinfo, const char **ppem_str, | 996 | const char **pinfo, const char **ppem_str, |
997 | const EVP_PKEY_ASN1_METHOD *ameth); | 997 | const EVP_PKEY_ASN1_METHOD *ameth); |
998 | 998 | ||
999 | const EVP_PKEY_ASN1_METHOD* EVP_PKEY_get0_asn1(EVP_PKEY *pkey); | 999 | const EVP_PKEY_ASN1_METHOD* EVP_PKEY_get0_asn1(const EVP_PKEY *pkey); |
1000 | EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, int flags, const char *pem_str, | 1000 | EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, int flags, const char *pem_str, |
1001 | const char *info); | 1001 | const char *info); |
1002 | void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst, | 1002 | void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst, |