Lines 714-720
Link Here
|
714 |
* avoid allocating additional buffers. Keep this in mind for future |
714 |
* avoid allocating additional buffers. Keep this in mind for future |
715 |
* code modification... |
715 |
* code modification... |
716 |
*/ |
716 |
*/ |
717 |
snprintf( Username, BufLen, "Username:" ); |
717 |
snprintf( Username, MAXUSERNAMELEN - 1, "Username:" ); |
718 |
|
718 |
|
719 |
EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); |
719 |
EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); |
720 |
|
720 |
|
Lines 770-776
Link Here
|
770 |
/* |
770 |
/* |
771 |
* Same drill all over again, except this time it's for the password. |
771 |
* Same drill all over again, except this time it's for the password. |
772 |
*/ |
772 |
*/ |
773 |
snprintf( Password, BufLen, "Password:" ); |
773 |
snprintf( Password, MAXPASSWDLEN - 1, "Password:" ); |
774 |
|
774 |
|
775 |
EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) ); |
775 |
EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) ); |
776 |
|
776 |
|