{"width":"100%","blog_url":"https://bg1.hatenablog.com/","blog_title":"\u8eca\u8f2a\u306ex\u767a\u660e ~B.G's Blog~","description":"BIO_new\u3067BIO\u69cb\u9020\u4f53\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3067\u304d\u308b\u3002 \u4eca\u56de\u306f\u3001\u30d0\u30c3\u30d5\u30a1\u7528\u30d5\u30a3\u30eb\u30bfBIO\u3092\u4f5c\u6210\u3059\u308b\u3002/docs/man1.1.0/crypto/BIO_new.htmlBIO_new.c\u306b\u3001\u3068\u66f8\u304f\u3002 BIO_new()\u306bBIO_f_buffer()\u306e\u623b\u308a\u5024\u3092\u6e21\u3059\u3053\u3068\u3067\u3001\u30d0\u30c3\u30d5\u30a1\u7528\u30d5\u30a3\u30eb\u30bfBIO\u304c\u4f5c\u6210\u3055\u308c\u3001buffer\u306b\u30dd\u30a4\u30f3\u30bf\u304c\u683c\u7d0d\u3055\u308c\u308b\u3002 \u305d\u308c\u3092printf\u3067\u51fa\u529b\u3002 \u6700\u5f8c\u306bBIO_free\u3067\u89e3\u653e\u3059\u308b\u3002 $ vi BIO_new.c $ gcc -o BIO_new BIO_new.c -lcrypto $ ./BIO_new buffer = 006db010 $\u30d0\u30c3\u30d5\u30a1\u7528\u30d5\u30a3\u30eb\u30bfBIO\u306e\u2026","title":"BIO_new","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2017%2F07%2F30%2F210000\" title=\"BIO_new - \u8eca\u8f2a\u306ex\u767a\u660e ~B.G&#39;s Blog~\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/BG1/","height":"190","provider_url":"https://hatena.blog","categories":["OpenSSL"],"url":"https://bg1.hatenablog.com/entry/2017/07/30/210000","published":"2017-07-30 21:00:00","version":"1.0","provider_name":"Hatena Blog","author_name":"BG1","type":"rich"}