diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-17 19:39:21 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-17 19:39:21 +0000 |
commit | 5614cc32c038ba0ae5ec006ef84c0964dda8db5f (patch) | |
tree | e79e85ecc26c1c9f43a45c4bd1cd45e823927657 /lib/libkeynote | |
parent | bfae27c1c947f622bb9f1e1cc33987d0b3818169 (diff) |
Make the stupid warnings go away.
Diffstat (limited to 'lib/libkeynote')
-rw-r--r-- | lib/libkeynote/signature.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libkeynote/signature.c b/lib/libkeynote/signature.c index 25970520dfb..45d2b5c1afe 100644 --- a/lib/libkeynote/signature.c +++ b/lib/libkeynote/signature.c @@ -1,4 +1,4 @@ -/* $OpenBSD: signature.c,v 1.13 2002/06/09 02:12:55 deraadt Exp $ */ +/* $OpenBSD: signature.c,v 1.14 2002/06/17 19:39:20 angelos Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -516,7 +516,7 @@ kn_decode_key(struct keynote_deckey *dc, char *key, int keytype) kk = dc->dec_key; if (keytype == KEYNOTE_PRIVATE_KEY) { - if (d2i_DSAPrivateKey((DSA **) &kk, &decoded, len) == (DSA *) NULL) + if (d2i_DSAPrivateKey((DSA **) &kk,(const unsigned char **) &decoded, len) == (DSA *) NULL) { if (ptr != (unsigned char *) NULL) free(ptr); @@ -527,7 +527,7 @@ kn_decode_key(struct keynote_deckey *dc, char *key, int keytype) } else { - if (d2i_DSAPublicKey((DSA **) &kk, &decoded, len) == (DSA *) NULL) + if (d2i_DSAPublicKey((DSA **) &kk, (const unsigned char **) &decoded, len) == (DSA *) NULL) { if (ptr != (unsigned char *) NULL) free(ptr); @@ -557,7 +557,7 @@ kn_decode_key(struct keynote_deckey *dc, char *key, int keytype) kk = dc->dec_key; if (keytype == KEYNOTE_PRIVATE_KEY) { - if (d2i_RSAPrivateKey((RSA **) &kk, &decoded, len) == (RSA *) NULL) + if (d2i_RSAPrivateKey((RSA **) &kk, (const unsigned char **) &decoded, len) == (RSA *) NULL) { if (ptr != (unsigned char *) NULL) free(ptr); @@ -568,7 +568,7 @@ kn_decode_key(struct keynote_deckey *dc, char *key, int keytype) } else { - if (d2i_RSAPublicKey((RSA **) &kk, &decoded, len) == (RSA *) NULL) + if (d2i_RSAPublicKey((RSA **) &kk, (const unsigned char **) &decoded, len) == (RSA *) NULL) { if (ptr != (unsigned char *) NULL) free(ptr); |