Commit ec7c9ee8 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Indent some of the code examples.

parent f82bb9cb
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -646,8 +646,8 @@ built OpenSSL with /MD your application must use /MD and cannot use /MDd.
* How do I read or write a DER encoded buffer using the ASN1 functions?

You have two options. You can either use a memory BIO in conjunction
with the i2d_XXX_bio() or d2i_XXX_bio() functions or you can use the
i2d_XXX(), d2i_XXX() functions directly. Since these are often the
with the i2d_*_bio() or d2i_*_bio() functions or you can use the
i2d_*(), d2i_*() functions directly. Since these are often the
cause of grief here are some code fragments using PKCS7 as an example:

 unsigned char *buf, *p;