diff options
author | Matt Caswell <matt@openssl.org> | 2016-08-15 10:07:30 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 13:03:04 +0100 |
commit | 6eabcc839f381bf07d004869ca8fe855edbb4846 (patch) | |
tree | 3320cda9c33590665d2bc5967133e4ae68df5061 /include | |
parent | a0754084f82cf1cd0c8629d61f779bb6a6c6b1a6 (diff) | |
download | openssl-6eabcc839f381bf07d004869ca8fe855edbb4846.tar.gz |
Make X509_NAME_get0_der() conform to OpenSSL style
Put the main object first in the params list.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/x509.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/x509.h b/include/openssl/x509.h index f8d188147b..a5b821b647 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -798,8 +798,8 @@ ASN1_OBJECT *X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne); ASN1_STRING *X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne); int X509_NAME_ENTRY_set(const X509_NAME_ENTRY *ne); -int X509_NAME_get0_der(const unsigned char **pder, size_t *pderlen, - X509_NAME *nm); +int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder, + size_t *pderlen); int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x); int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, |