diff options
author | Matt Caswell <matt@openssl.org> | 2016-08-15 11:07:30 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 14:03:04 +0200 |
commit | 6eabcc839f381bf07d004869ca8fe855edbb4846 (patch) | |
tree | 3320cda9c33590665d2bc5967133e4ae68df5061 /crypto/x509/x_name.c | |
parent | Corrupt signature in place. (diff) | |
download | openssl-6eabcc839f381bf07d004869ca8fe855edbb4846.tar.xz openssl-6eabcc839f381bf07d004869ca8fe855edbb4846.zip |
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 'crypto/x509/x_name.c')
-rw-r--r-- | crypto/x509/x_name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x_name.c b/crypto/x509/x_name.c index a2eb709c83..a7ae31e61e 100644 --- a/crypto/x509/x_name.c +++ b/crypto/x509/x_name.c @@ -550,8 +550,8 @@ int X509_NAME_print(BIO *bp, X509_NAME *name, int obase) return 0; } -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) { /* Make sure encoding is valid */ if (i2d_X509_NAME(nm, NULL) <= 0) |