Loading crypto/pem/pvkfmt.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -548,7 +548,7 @@ static void write_rsa(unsigned char **out, RSA *rsa, int ispub) hnbyte = (RSA_bits(rsa) + 15) >> 4; hnbyte = (RSA_bits(rsa) + 15) >> 4; RSA_get0_key(rsa, &n, &e, &d); RSA_get0_key(rsa, &n, &e, &d); write_lebn(out, e, 4); write_lebn(out, e, 4); write_lebn(out, n, -1); write_lebn(out, n, nbyte); if (ispub) if (ispub) return; return; RSA_get0_factors(rsa, &p, &q); RSA_get0_factors(rsa, &p, &q); Loading Loading
crypto/pem/pvkfmt.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -548,7 +548,7 @@ static void write_rsa(unsigned char **out, RSA *rsa, int ispub) hnbyte = (RSA_bits(rsa) + 15) >> 4; hnbyte = (RSA_bits(rsa) + 15) >> 4; RSA_get0_key(rsa, &n, &e, &d); RSA_get0_key(rsa, &n, &e, &d); write_lebn(out, e, 4); write_lebn(out, e, 4); write_lebn(out, n, -1); write_lebn(out, n, nbyte); if (ispub) if (ispub) return; return; RSA_get0_factors(rsa, &p, &q); RSA_get0_factors(rsa, &p, &q); Loading