Updated flags to add additional NewsFeed Type: Security!

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-netupgrade@4428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-07-11 15:52:29 +00:00
parent d643f168a0
commit 96b4651b7c
2 changed files with 12 additions and 10 deletions

View file

@ -1175,11 +1175,11 @@ bool AuthSSLimpl::FailedCertificate(X509 *x509, bool incoming)
if (incoming)
{
notifyType = RS_FEED_ITEM_PEER_HELLO;
notifyType = RS_FEED_ITEM_SEC_CONNECT_ATTEMPT;
}
else
{
notifyType = RS_FEED_ITEM_PEER_AUTH_DENIED;
notifyType = RS_FEED_ITEM_SEC_AUTH_DENIED;
}
getPqiNotify()->AddFeedItem(notifyType, gpgid, peerId, sslcn);
@ -1192,11 +1192,11 @@ bool AuthSSLimpl::FailedCertificate(X509 *x509, bool incoming)
/* unknown peer! */
if (incoming)
{
notifyType = RS_FEED_ITEM_PEER_UNKNOWN_IN;
notifyType = RS_FEED_ITEM_SEC_UNKNOWN_IN;
}
else
{
notifyType = RS_FEED_ITEM_PEER_UNKNOWN_OUT;
notifyType = RS_FEED_ITEM_SEC_UNKNOWN_OUT;
}
getPqiNotify()->AddFeedItem(notifyType, gpgid, peerId, sslcn);