Method: OpenSSL::BN#+@
- Defined in:
- ossl_bn.c
#+ ⇒ Object
955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 |
# File 'ossl_bn.c', line 955 static VALUE ossl_bn_uplus(VALUE self) { VALUE obj; BIGNUM *bn1, *bn2; GetBN(self, bn1); obj = NewBN(cBN); bn2 = BN_dup(bn1); if (!bn2) ossl_raise(eBNError, "BN_dup"); SetBN(obj, bn2); return obj; } |