diff options
author | 2018-05-13 10:36:35 +0000 | |
---|---|---|
committer | 2018-05-13 10:36:35 +0000 | |
commit | 39f4a7f23f3d81a5b8735b93758c414d947b51f5 (patch) | |
tree | f8c13cd4fb3df5f73b9475542b145f2fef95bd37 /lib/libcrypto/x509/x509.h | |
parent | Add const qualifier to the X509_NAME *, ASN1_BIT_STRING *, and (diff) | |
download | wireguard-openbsd-39f4a7f23f3d81a5b8735b93758c414d947b51f5.tar.xz wireguard-openbsd-39f4a7f23f3d81a5b8735b93758c414d947b51f5.zip |
Add const qualifier to the argument of X509_get_issuer_name(3) and
X509_get_subject_name(3).
tested in a bulk build by sthen
ok jsing (as part of a larger diff)
Diffstat (limited to 'lib/libcrypto/x509/x509.h')
-rw-r--r-- | lib/libcrypto/x509/x509.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h index 314236919bf..aac63ea92b9 100644 --- a/lib/libcrypto/x509/x509.h +++ b/lib/libcrypto/x509/x509.h @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.h,v 1.48 2018/05/13 10:25:06 tb Exp $ */ +/* $OpenBSD: x509.h,v 1.49 2018/05/13 10:36:35 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -987,9 +987,9 @@ int X509_set_version(X509 *x, long version); int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial); ASN1_INTEGER * X509_get_serialNumber(X509 *x); int X509_set_issuer_name(X509 *x, X509_NAME *name); -X509_NAME * X509_get_issuer_name(X509 *a); +X509_NAME * X509_get_issuer_name(const X509 *a); int X509_set_subject_name(X509 *x, X509_NAME *name); -X509_NAME * X509_get_subject_name(X509 *a); +X509_NAME * X509_get_subject_name(const X509 *a); int X509_set_notBefore(X509 *x, const ASN1_TIME *tm); int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm); int X509_set_notAfter(X509 *x, const ASN1_TIME *tm); |