{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1759831443,"commit_time":1759835544,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"4a6bdd5899005c25ce222dc21dcfd1a779544330","message":"examples/usercertinmem: avoid stripping const\n\nThis API started accepting a const somewhere between OpenSSL 1.0.2b and\n1.0.2t. It means this example, like the other similar one now works best\nwith those versions or newer:\n```\ndocs/examples/usercertinmem.c:100:33: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual]\n  100 |   bio = BIO_new_mem_buf((char *)mypem, -1);\n      |                                 ^\ndocs/examples/usercertinmem.c:121:34: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual]\n  121 |   kbio = BIO_new_mem_buf((char *)mykey, -1);\n      |                                  ^\n```\n\nCloses #18908\n","parents":["783df22e596f46c989cadba016d144514b68654c"],"tree_hash":"7d31fbe6cc4669d04164c33c2a0ed871fe0f1746"}