Date: Tue, 15 Sep 2015 08:34:33 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r287814 - stable/9/usr.sbin/pkg Message-ID: <201509150834.t8F8YXPu062572@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Sep 15 08:34:32 2015 New Revision: 287814 URL: https://svnweb.freebsd.org/changeset/base/287814 Log: Fix build with gcc Modified: stable/9/usr.sbin/pkg/pkg.c Modified: stable/9/usr.sbin/pkg/pkg.c ============================================================================== --- stable/9/usr.sbin/pkg/pkg.c Tue Sep 15 06:48:19 2015 (r287813) +++ stable/9/usr.sbin/pkg/pkg.c Tue Sep 15 08:34:32 2015 (r287814) @@ -502,7 +502,7 @@ load_rsa_public_key_file(const char *fil } static RSA * -load_rsa_public_key_buf(const unsigned char *cert, int certlen) +load_rsa_public_key_buf(unsigned char *cert, int certlen) { RSA *rsa = NULL; BIO *bp; @@ -521,7 +521,7 @@ load_rsa_public_key_buf(const unsigned c static bool -rsa_verify_cert(int fd, const char *sigfile, const unsigned char *key, +rsa_verify_cert(int fd, const char *sigfile, unsigned char *key, int keylen, unsigned char *sig, int siglen) { char sha256[SHA256_DIGEST_LENGTH *2 +1];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509150834.t8F8YXPu062572>