copy(p1) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
ossl_bn_copy(VALUE self, VALUE other)
    BIGNUM *bn1, *bn2;
    if (self == other) return self;
    GetBN(self, bn1);
    bn2 = GetBNPtr(other);
    if (!BN_copy(bn1, bn2)) {
        ossl_raise(eBNError, NULL);
    return self;
Register or log in to add new notes.