version 1.21, 2021/04/01 10:47:38 |
version 1.22, 2021/04/07 10:29:58 |
|
|
bnser = ASN1_INTEGER_to_BN(ser, NULL); |
bnser = ASN1_INTEGER_to_BN(ser, NULL); |
if (bnser == NULL) |
if (bnser == NULL) |
goto end; |
goto end; |
if (!BN_add_word(bnser, 1)) |
if (!BN_add_word(bnser, 1)) { |
|
BN_free(bnser); |
goto end; |
goto end; |
|
} |
ser = BN_to_ASN1_INTEGER(bnser, NULL); |
ser = BN_to_ASN1_INTEGER(bnser, NULL); |
if (ser == NULL) |
if (ser == NULL) { |
|
BN_free(bnser); |
goto end; |
goto end; |
|
} |
BN_free(bnser); |
BN_free(bnser); |
i2a_ASN1_INTEGER(out, ser); |
i2a_ASN1_INTEGER(out, ser); |
ASN1_INTEGER_free(ser); |
ASN1_INTEGER_free(ser); |