-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PEM_write_TYPE() wrong return value in man-pages #20218
Comments
@paulidale Hi, can I work on this as my first contribution to open source? |
Sure, just submit a PR, please |
Hi, can I work on this if nobody is working ? I will wait for response for few hours. |
@blazmonster Hi, can you find where this sentence is written in this repo?
I went through the Other functions' doc are correctly stated in the repo. For example doc of I'm not sure there anything I missed or not. |
Please feel free to do so. |
Hello, this issue is Always open, i would like work on this |
Feel free to work on this. |
@LingkKang you can find some hint from https://www.openssl.org/docs/man1.1.1/man3/PEM_write_bio_ECPrivateKey.html. |
Affected:
Example: https://www.openssl.org/docs/man3.0/man3/PEM_write_bio_ECPrivateKey.html
Actually this is wrong. For example,
PEM_write_bio_ECPrivateKey
is implemented using macros (seeinclude/openssl/pem.h:133
for openssl 1.1.1s. The macro returnsPEM_ASN1_write_bio(...)
which is implemented incrypto/pem/pem_lib.c
but returns1
on success, and0
on error. Length of data is never returned back to the caller.This probably affects all
PEM_write_TYPE()
functions.The text was updated successfully, but these errors were encountered: