)]}' { "commit": "9b561e69b63266a34675ad610f3da76c899c5750", "tree": "ffec547657e7291197ba4107d9bc29ec07af60d1", "parents": [ "0e2908a8069df529cb588611b451185bed601979" ], "author": { "name": "David Benjamin", "email": "davidben@chromium.org", "time": "Wed Jul 09 11:47:42 2014 -0400" }, "committer": { "name": "Adam Langley", "email": "agl@google.com", "time": "Thu Jul 10 02:10:47 2014 +0000" }, "message": "Fix EVP_PKEY_FLAG_AUTOARGLEN behavior.\n\nConverting check_autoarg from a macro to a function lost the behavior. Instead,\njust move the logic into p_rsa.c which was the only EVP_PKEY implementation\nthat even needed the flag.\n\nAlso document this behavior on each of the functions. Make note of the out \u003d\nNULL case only returning the maximum output size, and not necessarily the\nactual size.\n\nFor testing, update example_sign to determine the signature size using the NULL\nbehavior rather than querying the RSA key.\n\nChange-Id: Iec6c2862028a5cfdefe8faa0e8c471755070898a\nReviewed-on: https://boringssl-review.googlesource.com/1121\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "c6f5ab31ab651976a1cb892df10720b8b5433301", "old_mode": 33188, "old_path": "crypto/evp/evp.h", "new_id": "91b1a37653a2832146b057842881436c595bf936", "new_mode": 33188, "new_path": "crypto/evp/evp.h" }, { "type": "modify", "old_id": "5c3755aa4fc258be47377e5a030df1cf1518003f", "old_mode": 33188, "old_path": "crypto/evp/evp_ctx.c", "new_id": "1365dae774fbad7fb4a66d2f6ccde98055c29177", "new_mode": 33188, "new_path": "crypto/evp/evp_ctx.c" }, { "type": "modify", "old_id": "0b4d2f2da87c129e3e515656958f7e34d7ff1edd", "old_mode": 33188, "old_path": "crypto/evp/evp_error.c", "new_id": "c349d30301d9945eb39e67d93cb32541ab7fc4f8", "new_mode": 33188, "new_path": "crypto/evp/evp_error.c" }, { "type": "modify", "old_id": "4bbe194253e28b3379c5c2c72c18625c8f41f737", "old_mode": 33188, "old_path": "crypto/evp/example_sign.c", "new_id": "df7156bb958247dd313a2d8e3b8a17acbae61345", "new_mode": 33188, "new_path": "crypto/evp/example_sign.c" }, { "type": "modify", "old_id": "76f206e727cd78aa53bd1f1121d76a08557e9be2", "old_mode": 33188, "old_path": "crypto/evp/internal.h", "new_id": "8561960db7720ce97245124321ddc0c46d6eb4c0", "new_mode": 33188, "new_path": "crypto/evp/internal.h" }, { "type": "modify", "old_id": "0128950e8d8c4c9e0709397465233eb879241f2e", "old_mode": 33188, "old_path": "crypto/evp/p_rsa.c", "new_id": "4858b9083469a56fd066bfb7e64dc28d050e380f", "new_mode": 33188, "new_path": "crypto/evp/p_rsa.c" } ] }