Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/libsaslc/dist/src adjust for openssl 1.1
details: https://anonhg.NetBSD.org/src/rev/0b13e5693c73
branches: trunk
changeset: 359270:0b13e5693c73
user: christos <christos%NetBSD.org@localhost>
date: Tue Feb 06 04:21:24 2018 +0000
description:
adjust for openssl 1.1
diffstat:
crypto/external/bsd/libsaslc/dist/src/crypto.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ef9e39f33b47 -r 0b13e5693c73 crypto/external/bsd/libsaslc/dist/src/crypto.c
--- a/crypto/external/bsd/libsaslc/dist/src/crypto.c Tue Feb 06 03:48:39 2018 +0000
+++ b/crypto/external/bsd/libsaslc/dist/src/crypto.c Tue Feb 06 04:21:24 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crypto.c,v 1.5 2011/02/12 23:21:32 christos Exp $ */
+/* $NetBSD: crypto.c,v 1.6 2018/02/06 04:21:24 christos Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: crypto.c,v 1.5 2011/02/12 23:21:32 christos Exp $");
+__RCSID("$NetBSD: crypto.c,v 1.6 2018/02/06 04:21:24 christos Exp $");
#include <assert.h>
#include <stdio.h>
@@ -169,7 +169,7 @@
if ((n = malloc(len)) == NULL)
return NULL;
- if (RAND_pseudo_bytes((unsigned char *)n, (int)len) != 1) {
+ if (RAND_bytes((unsigned char *)n, (int)len) != 1) {
free(n);
return NULL;
}
Home |
Main Index |
Thread Index |
Old Index