Commit 8d85b33e authored by Bodo Möller's avatar Bodo Möller
Browse files

by request: let BN_dup(NULL) just return NULL

parent 0dd25e36
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -489,6 +489,8 @@ BIGNUM *BN_dup(const BIGNUM *a)
	{
	BIGNUM *r;

	if (a == NULL) return NULL;

	bn_check_top(a);

	r=BN_new();