[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Tue Sep 1 22:58:40 UTC 2015


The branch master has been updated
       via  91d2728b38b1df930f337e163816a0fc9580b6a6 (commit)
      from  6c41ee7c6530b23267ed20f95143a2a682796fef (commit)


- Log -----------------------------------------------------------------
commit 91d2728b38b1df930f337e163816a0fc9580b6a6
Author: Tim Zhang <tim.zhang at irdeto.com>
Date:   Mon May 11 10:58:51 2015 +0100

    Fix the comment for POINT_CONVERSION_UNCOMPRESSED
    
    The |z| value should be 0x04 not 0x02
    
    RT#3838
    
    Signed-off-by: Matt Caswell <matt at openssl.org>
    
    Reviewed-by: Emilia Käsper <emilia at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 include/openssl/ec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 2d36dd5..6ea4e41 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -106,7 +106,7 @@ typedef enum {
         /** 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  */


More information about the openssl-commits mailing list