Bug 52762 - Problem with multiples certificates: first index not used until indexes are restarted
Problem with multiples certificates: first index not used until indexes are r...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.6
All All
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-02-24 19:11 UTC by Julian Cesar
Modified: 2012-02-25 09:49 UTC (History)
2 users (show)



Attachments
Correction (598 bytes, patch)
2012-02-24 19:11 UTC, Julian Cesar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Cesar 2012-02-24 19:11:44 UTC
Created attachment 28382 [details]
Correction

Hi, I made a dumb mistake in this feature! 
When we request the next certificate index on list (previously loaded) the increment of index ocurred before used, so the first index is not used, unless the indexes are restarted.
We did not have detected this problem until we need to get a specific certificate.
The correction is atached in ticket.
Comment 1 Philippe Mouawad 2012-02-25 09:49:11 UTC
Date: Sat Feb 25 09:48:29 2012
New Revision: 1293562

URL: http://svn.apache.org/viewvc?rev=1293562&view=rev
Log:
Bug 52762 - Problem with multiples certificates: first index not used until indexes are restarted

Modified:
   jmeter/trunk/src/core/org/apache/jmeter/util/keystore/JmeterKeyStore.java
   jmeter/trunk/xdocs/changes.xml