mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Minor spelling fixes.
This commit is contained in:
@@ -283,7 +283,7 @@ static int PrintPem(FILE* fp, int pem_skip)
|
||||
|
||||
/* Usage lines to show. */
|
||||
const char* usage[] = {
|
||||
"asn1 [OPTOIN]... [FILE]",
|
||||
"asn1 [OPTION]... [FILE]",
|
||||
"Display a human-readable version of a DER/BER encoding.",
|
||||
"",
|
||||
"Options:",
|
||||
@@ -317,8 +317,8 @@ static void Usage(void)
|
||||
|
||||
/* Main entry of ASN.1 printing program.
|
||||
*
|
||||
* @param [in] argc Count of command line argements.
|
||||
* @param [in] argv Command line argements.
|
||||
* @param [in] argc Count of command line arguments.
|
||||
* @param [in] argv Command line arguments.
|
||||
* @return 0 on success.
|
||||
* @return 1 on failure.
|
||||
*/
|
||||
@@ -430,7 +430,7 @@ int main(int argc, char* argv[])
|
||||
Usage();
|
||||
return 0;
|
||||
}
|
||||
/* Unknown option dectection. */
|
||||
/* Unknown option detection. */
|
||||
else if (argv[0][0] == '-') {
|
||||
fprintf(stderr, "Bad option: %s\n", argv[0]);
|
||||
Usage();
|
||||
@@ -476,8 +476,8 @@ int main(int argc, char* argv[])
|
||||
|
||||
/* Main entry of ASN.1 printing program.
|
||||
*
|
||||
* @param [in] argc Count of command line argements.
|
||||
* @param [in] argv Command line argements.
|
||||
* @param [in] argc Count of command line arguments.
|
||||
* @param [in] argv Command line arguments.
|
||||
* @return 0 on success.
|
||||
* @return 1 on failure.
|
||||
*/
|
||||
@@ -489,6 +489,5 @@ int main(int argc, char* argv[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* WOLFSSL_ASN_PRINT */
|
||||
|
||||
|
@@ -637,7 +637,7 @@ static int ConvDerToPem(unsigned char* in, word32 offset, word32 len,
|
||||
|
||||
/* Usage lines to show. */
|
||||
const char* usage[] = {
|
||||
"pem [OPTOIN]...",
|
||||
"pem [OPTION]...",
|
||||
"Convert to/from PEM and DER.",
|
||||
"",
|
||||
"Options:",
|
||||
@@ -708,8 +708,8 @@ static void Usage(void)
|
||||
|
||||
/* Main entry of ASN.1 printing program.
|
||||
*
|
||||
* @param [in] argc Count of command line argements.
|
||||
* @param [in] argv Command line argements.
|
||||
* @param [in] argc Count of command line arguments.
|
||||
* @param [in] argv Command line arguments.
|
||||
* @return 0 on success.
|
||||
* @return 1 on failure.
|
||||
*/
|
||||
@@ -1021,8 +1021,8 @@ int main(int argc, char* argv[])
|
||||
|
||||
/* Main entry of ASN.1 printing program.
|
||||
*
|
||||
* @param [in] argc Count of command line argements.
|
||||
* @param [in] argv Command line argements.
|
||||
* @param [in] argc Count of command line arguments.
|
||||
* @param [in] argv Command line arguments.
|
||||
* @return 0 on success.
|
||||
* @return 1 on failure.
|
||||
*/
|
||||
@@ -1030,9 +1030,9 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
fprintf(stderr, "ASN.1 Parsing and Printing not compiled in.\n");
|
||||
fprintf(stderr, "PEM to DER conversion not compiled in.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* WOLFSSL_PEM_TO_DER */
|
||||
|
||||
|
@@ -45417,7 +45417,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t certpiv_test(void)
|
||||
0x0B, 0x01, 0x00, /* Nonce */
|
||||
0x0C, 0x01, 0x00, /* Signed Nonce */
|
||||
};
|
||||
/* PIV certificate data including certificate, info and error dectection. */
|
||||
/* PIV certificate data including certificate, info and error detection. */
|
||||
WOLFSSL_SMALL_STACK_STATIC const byte pivCert[] = {
|
||||
0x53, 0x09, /* NIST PIV Cert */
|
||||
0x70, 0x02, /* Certificate */
|
||||
|
Reference in New Issue
Block a user