Fix the comment for POINT_CONVERSION_UNCOMPRESSED, the z should be 0x04 but not
0x02.
$ more mydiffs.patch
diff -ur openssl-orig/include/openssl/ec.h openssl-work/include/openssl/ec.h
--- openssl-orig/include/openssl/ec.h 2015-05-07 11:37:05.594525940 +0800
+++ openssl-work/include/openssl/ec.h 2015-05-07 11:51:49.680806044 +0800
@@ -106,7 +106,7 @@
/** the point is encoded as z||x, where the octet z specifies
* which solution of the quadratic equation y is */
POINT_CONVERSION_COMPRESSED = 2,
- /** the point is encoded as z||x||y, where z is the octet 0x02 */
+ /** the point is encoded as z||x||y, where z is the octet 0x04 */
POINT_CONVERSION_UNCOMPRESSED = 4,
/** the point is encoded as z||x||y, where the octet z specifies
* which solution of the quadratic equation y is */
Tim Zhang (张选东)
Senior System Architect, Beijing
t: +86 10 85304280
Irdeto
Please visit: www.irdeto.com<http://www.irdeto.com/>
CONFIDENTIAL: This e-mail and any attachments are confidential and intended
solely for the use of the individual(s) to whom it is addressed. It can contain
proprietary confidential information and be subject to legal privilege and/or
subject to a non-disclosure Agreement. Unauthorized use, disclosure or copying
is strictly prohibited. If you are not the/an addressee and are in possession
of this e-mail, please delete the message and notify us immediately.
Please consider the environment before printing this e-mail. Thank you.
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev