diff options
author | Ben Laurie <ben@openssl.org> | 1999-04-23 15:01:15 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-04-23 15:01:15 +0000 |
commit | 61f5b6f33807306d09bccbc2dcad474d1d04ca40 (patch) | |
tree | 1680fa648df5f730df11ec433a512a1fadf0facd /crypto/pkcs12/p12_attr.c | |
parent | 779cc0bca98e35830db455f34b986b86a2d2f822 (diff) | |
download | openssl-61f5b6f33807306d09bccbc2dcad474d1d04ca40.tar.gz |
Work with -pedantic!
Diffstat (limited to 'crypto/pkcs12/p12_attr.c')
-rw-r--r-- | crypto/pkcs12/p12_attr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/pkcs12/p12_attr.c b/crypto/pkcs12/p12_attr.c index 6247fdb766..c7d13c6219 100644 --- a/crypto/pkcs12/p12_attr.c +++ b/crypto/pkcs12/p12_attr.c @@ -145,8 +145,8 @@ int PKCS8_add_keyusage (PKCS8_PRIV_KEY_INFO *p8, int usage) /* Add a friendlyname to a safebag */ -int PKCS12_add_friendlyname_asc (PKCS12_SAFEBAG *bag, unsigned char *name, - int namelen) +int PKCS12_add_friendlyname_asc (PKCS12_SAFEBAG *bag, const char *name, + int namelen) { unsigned char *uniname; int ret, unilen; @@ -160,8 +160,8 @@ int PKCS12_add_friendlyname_asc (PKCS12_SAFEBAG *bag, unsigned char *name, } -int PKCS12_add_friendlyname_uni (PKCS12_SAFEBAG *bag, unsigned char *name, - int namelen) +int PKCS12_add_friendlyname_uni (PKCS12_SAFEBAG *bag, + const unsigned char *name, int namelen) { X509_ATTRIBUTE *attrib; ASN1_BMPSTRING *bmp; |