svn commit: r287814 - stable/9/usr.sbin/pkg
Baptiste Daroussin
bapt at FreeBSD.org
Tue Sep 15 08:34:33 UTC 2015
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];
More information about the svn-src-stable-9
mailing list