]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - doc/man3/BIO_f_md.pod
Rename all getters to use get/get0 in name
[thirdparty/openssl.git] / doc / man3 / BIO_f_md.pod
index 8ad694853f00e7d10280ce470a8fc91fc4cdf247..aa60ff4eb81967fedf0f9821cd71b8935a6c486a 100644 (file)
@@ -128,7 +128,7 @@ outputs them. This could be used with the examples above.
      if (!mdtmp)
          break;
      BIO_get_md(mdtmp, &md);
-     printf("%s digest", OBJ_nid2sn(EVP_MD_type(md)));
+     printf("%s digest", OBJ_nid2sn(EVP_MD_get_type(md)));
      mdlen = BIO_gets(mdtmp, mdbuf, EVP_MAX_MD_SIZE);
      for (i = 0; i < mdlen; i++) printf(":%02X", mdbuf[i]);
      printf("\n");