Skip to content

[YottaDB/DB/YDB#780] [V70000] Merge GT.M V7.0-000 changes to encryption plugin into YDBEncrypt repo

Narayanan Iyer requested to merge nars1/YDBEncrypt:v70000 into master
  • GT.M V7.0-000 in the YDB project changed the following files.

    • sr_unix/gtm_tls_impl.c
    • sr_unix/gtmcrypt_dbk_ref.c
    • sr_unix/gtmcrypt_dbk_ref.h
    • sr_unix/gtmcrypt_pk_ref.c
    • sr_unix/gtmcrypt_ref.c
    • sr_unix/gtmcrypt_util.c
    • sr_unix/gtmcrypt_util.h
  • In YottaDB, these files have been moved to the YDBEncrypt repository/project. Therefore the above changes are incorporated to the following files in the YDBEncrypt project as part of this commit.

    • YDBEncrypt/gtm_tls_impl.c
    • YDBEncrypt/gtmcrypt_dbk_ref.c
    • YDBEncrypt/gtmcrypt_dbk_ref.h
    • YDBEncrypt/gtmcrypt_pk_ref.c
    • YDBEncrypt/gtmcrypt_ref.c
    • YDBEncrypt/gtmcrypt_util.c
    • YDBEncrypt/gtmcrypt_util.h
  • While the incorporation was straightforward, one change was not incorporated as is and is noted below. In sr_unix/gtm_tls_impl.c, a strncpy() call was unnecessary as we determined the length of the string using a strnlen() call in the previous line. Therefore this was replaced with a memcpy() call in YDBEncrypt/gtm_tls_impl.c.

Merge request reports