4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-13 19:19:33 +00:00

use bytearray now

svn path=/trunk/kdesupport/qca/; revision=429135
This commit is contained in:
Justin Karneges 2005-06-26 18:02:58 +00:00
parent f824ceec8e
commit 10a3871258
2 changed files with 2 additions and 2 deletions
examples
publickeyexample
ssltest

@ -72,7 +72,7 @@ int main(int argc, char** argv)
msg.setRecipient(secMsgKey);
// Some plain text - we use the first comamnd line argument if provided
QSecureArray plainText = (argc >= 2) ? argv[1] : "What do ya want for nuthin'";
QByteArray plainText = (argc >= 2) ? argv[1] : "What do ya want for nuthin'";
// Now use the SecureMessage object to encrypt the plain text.
msg.startEncrypt();

@ -192,7 +192,7 @@ private slots:
void ssl_readyRead()
{
QByteArray a = ssl->read().toByteArray();
QByteArray a = ssl->read();
printf("%s", a.data());
}