Skip to content

Commit f4823d6

Browse files
committed
Updated OpenSSL BIGNUM definition
1 parent 39cf335 commit f4823d6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cpp/lib/crypto/openssl/bn.qll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class BN_rand extends FunctionCall {
6161

6262
class BIGNUM extends FunctionCall {
6363
BIGNUM () {
64-
this.getTarget().getName() in ["BN_new"]
64+
this.getTarget() instanceof BN_new or
65+
this.getTarget() instanceof BN_secure_new
6566
}
66-
}
67+
}

0 commit comments

Comments
 (0)