Commit Graph

26 Commits (0b3756aeab22656fd13fa9ccdda0397561ba4ca3)

Author SHA1 Message Date
Arrehn 7394730eaa Merge up to LL FUI 2011-10-28 02:00:09 -04:00
Aaron Stone c7141025c8 Respect --no-verify-ssl-cert option. 2011-08-23 14:45:42 -07:00
Vadim ProductEngine 6a7bbe0159 STORM-1546 FIXED Fixed a crash caused by a race condition in LLRefCount.
Reason:
secapiSSLCertVerifyCallback() seems to be called simultaneously by multiple threads,
which causes a race condition in LLRefCount::ref/unref() methods.
The reference counter in LLSecAPIBasicHandler::mStore goes to zero, and the object gets destroyed.

Fix:
Derive LLCertificateStore from LLThreadSafeRefCount instead of LLRefCount,
which should fix the race condition.

Note:
The LLThreadSafeRefCount constructor is private, so we have to wrap instances of the class with LLPointer.
2011-08-09 22:47:19 +03:00
Arrehn 1a48719121 FIRE-965 WIP, Don't erase saved passwords automatically on config change, Satomi Ahn 2011-08-31 02:41:48 -04:00
Vadim ProductEngine 3a69d89bb3 STORM-1546 FIXED Fixed a crash caused by a race condition in LLRefCount.
Reason:
secapiSSLCertVerifyCallback() seems to be called simultaneously by multiple threads,
which causes a race condition in LLRefCount::ref/unref() methods.
The reference counter in LLSecAPIBasicHandler::mStore goes to zero, and the object gets destroyed.

Fix:
Derive LLCertificateStore from LLThreadSafeRefCount instead of LLRefCount,
which should fix the race condition.

Note:
The LLThreadSafeRefCount constructor is private, so we have to wrap instances of the class with LLPointer.
2011-08-09 22:47:19 +03:00
Tonya Souther 0d103a6873 Satomi Ahn's login manager. Fixes FIRE-964. 2011-08-22 18:31:09 -05:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Roxie Linden 1fe7b13d1f automated merge 2010-05-28 12:10:29 -07:00
Tofu Linden 7e0b36d610 CID-442
Checker: FORWARD_NULL
Function: LLBasicCertificateVector::insert(LLCertificateVector::iterator, LLPointer<LLCertificate>)
File: /indra/newview/llsechandler_basic.cpp
2010-05-28 12:47:45 +01:00
Roxie Linden 0ffba7c663 automated merge 2010-05-27 22:58:40 -07:00
karina cca5aa48ae Add new mechanism for getting a unique machine id. 2010-05-26 23:46:42 -07:00
Roxie Linden 32ad37b3f7 Few more touchups for the cert performance code 2010-05-24 16:21:29 -07:00
Roxie Linden a7d1c68c78 Fixup some certificate related unit tests 2010-05-24 15:31:10 -07:00
Roxie Linden 1ad46b5cd0 DEV-50173 - investigate certificate code performance
DEV-50166 - LLBasicCertificateChain::validate calls in log
Added caching of certificates that have been validated.
The sha1 hash for the certificate is stored and is associated
with the from and to times.  When the certificate is validated,
the code determines whether the certificate has successfully
been validated before by looking for it in the cache, and then
checks the date of the cert.  If that is successful,
the validation calls with success.

Otherwise, it proceeds to do a full validation of the certificate.
2010-05-24 13:59:10 -07:00
Roxie Linden cae4e785be Allow update of the default CAs on install 2010-05-18 22:18:54 -07:00
Roxie Linden d82a10217a Fix issue parsing wildcard cns in certificates
CR: Karina
2010-04-26 17:41:21 -07:00
Roxie Linden 658ccc3e85 Re-insert backed out SLE checkin so we can fix it 2010-04-07 11:08:04 -07:00
Tofu Linden 0bb3f144c0 Backed out changeset 63b699f90efd 2010-04-07 10:37:07 +01:00
Roxie Linden d79af12e04 Fix windows build break, segfault on exit and bad library link location 2010-03-02 13:42:17 -08:00
Roxie Linden c70d0f0ee2 DEV-42996 GIAB: configuring via CLI tools corrupts viewer certs
Added authority key identifier/subject key identifier checking.
Whenever a new cert was created, a new private key was also
created.  Typically you get a new key identifier with
that private key which is written to the child cert.  The
child cert can then find the appropriate parent cert
for validation via subject key identifier.
2009-12-08 00:00:51 -08:00
Roxie Linden b11a625e6f Automated merge with a few fixups for code review comments 2010-03-01 15:31:04 -08:00
Karen Lahey 8f2df75f3d Fix build. 2009-10-16 19:26:46 -07:00
Karen Lahey 73e86b0bed MAC Address Change no longer causes viewer to die cr:Roxie 2009-10-15 16:52:03 -07:00
Roxanne Skelly 9e89819d55 DEV-34822 - merge with 1.23
certificate notification code
-r 118191

ignore-dead-branch
2009-07-08 00:45:17 +00:00
Roxie Linden fe71dd340a Merge giab-viewer-trunk 2497, general merge of more
secapi stuff as well as certificate handling stuff.
Grid manager as well
2010-02-01 15:10:19 -08:00
Roxanne Skelly 1a9d19d955 Initial secapi merge
svn merge -c112450  svn+ssh://svn.lindenlab.com/svn/linden/branches/giab-viewer/giab-viewer-1 giab-viewer-1-23

svn merge -c112913  svn+ssh://svn.lindenlab.com/svn/linden/branches/giab-viewer/giab-viewer-1 giab-viewer-1-23
2009-07-03 01:05:27 +00:00